]> dgit.raspbian.org Git - linux-4.9.git/commit
According to RFC 2460, IPv6 UDP calculated checksum yields a result
authorNisar Sayed <Nisar.Sayed@microchip.com>
Tue, 9 May 2017 17:51:42 +0000 (18:51 +0100)
committerpopcornmix <popcornmix@gmail.com>
Tue, 9 May 2017 17:51:42 +0000 (18:51 +0100)
commita9ad627ed581575df069dbefd4dd5f193be5a11f
tree299382ef7eadd6e520853965b214023001ff765e
parent8df0ea813c8f941ba69a82890f3ef37915b404c8
According to RFC 2460, IPv6 UDP calculated checksum yields a result
of zero must be changed to 0xffff, however this feature is not
supported by smsc95xx family hence enable csum offload only for
IPv4 TCP/UDP packets.

Signed-off-by: Nisar Sayed <Nisar.Sayed@microchip.com>
Reported-by: popcorn mix <popcornmix@gmail.com>
drivers/net/usb/smsc95xx.c